package com.rtx.wms.customer.k3.job;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.rtx.api.annotation.RtxJobAnnotation;
import com.rtx.api.quartz.job.BaseJob;
import com.rtx.wms.customer.k3.base.service.impl.MaterialHandle;

@Component
@DisallowConcurrentExecution
@RtxJobAnnotation(jobName = "同步K3物料信息",description = "K3同步物料信息",cron = "0 0 23 * * ?")
public class K3SkuJob implements BaseJob {

	@Autowired
	MaterialHandle materialHandle;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
    	materialHandle.schedulerBasic();
    }
}
